package cn.xshi.sys.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Desc 通知接收人查询参数
 * @Author 邓纯杰
 * @CreateTime 2024-06-21 10:05:12
 */
@Data
@ApiModel(value="通知接收人查询参数", description="通知接收人查询参数")
public class SysNotifyReceiverForm {

	@ApiModelProperty(value = "接收时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date receiveTime;/**接收时间**/

	@ApiModelProperty(value = "接收人id")
	private String receiveId;/**接收人id**/

	@ApiModelProperty(value = "接收人名称")
	private String receiveName;/**接收人名称**/

	@ApiModelProperty(value = "通知id外键")
	private String notifyId;/**通知id外键**/

	@ApiModelProperty(value = "已读时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date readTime;/**已读时间**/

	@ApiModelProperty(value = "状态0未读1已读")
	private Integer status;/**状态0未读1已读**/
	
	//通知主表信息
	@ApiModelProperty(value = "发送人id")
	private String fromUser;/**发送人id**/

	@ApiModelProperty(value = "发送人名称")
	private String fromUserName;/**发送人名称**/

	@ApiModelProperty(value = "标题")
	private String title;

	@ApiModelProperty(value = "内容")
	private String content;

	@ApiModelProperty(value = "通知类型0.系统 1.修改密码 2.工作流")
	private Integer type;

}
